LassoScript Utility
Basics Browse Detail

[Email_Parse->Size]

Tag Link [Email_Parse->Size] Category Email
Type Member Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0

Description

[Email_Parse->Size] returns the number of parts that the message has. A simple message has only 1 part. A complex multi-part message with attachments may have many parts. The [Email_Parse->Get] tag can be used to fetch each part of a multi-part message.

Syntax

[Var: 'myMSG' = (Email_Parse: $myPOP->(Retrieve))]
[Loop: $myMSG->Size]
[Var: 'myPart' = $myMSG->(Get: Loop_Count)]
...
[/Loop]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.